package org.dreamwork.jasmine2.engine;

import org.dreamwork.jasmine2.events.IChangeListener;
import org.dreamwork.jasmine2.events.EventException;
import org.dreamwork.jasmine2.web.IWebControl;

/**
 * Created by IntelliJ IDEA.
 * User: seth
 * Date: 2009-7-22
 * Time: 13:37:28
 */
public interface IChangable {
    void addChangeListener (IChangeListener listener);
    void removeChangeListener (IChangeListener listener);
    void fireChange (IWebControl sender, String attrName, Object oldValue, Object newValue) throws EventException;
    IChangeListener[] getChangeListeners ();
}